﻿/* ================================================================================
<copyright file="Program.cs" company="The Framework Factory, LLC" lastWriteTime="12/05/2012 23:23:46 PM">
  Copyright (c) 2012 The Framework Factory, LLC.  All rights reserved.
</copyright>
=================================================================================== */
using System;

namespace FWF.Logging.ConsoleTestApp
{
    /// <summary>
    /// 
    /// </summary>
    class Program
    {

        private static readonly IFWFLog _log = LogFactory.Get( typeof( Program ) );

        /// <summary>
        /// Mains the specified args.
        /// </summary>
        /// <param name="args">The args.</param>
        static void Main( string[] args )
        {
            _log.Debug( "This is a debug statement..." );

            _log.Warn( "This is a warn statement..." );

            _log.Error(
                        "This is a error statement...",
                        new Exception( "exception message" )
                        );

            Console.WriteLine();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }

    }
}
